﻿@model ETL.Web.Models.RegisterModel
@{
    ViewBag.Title = "Register";
}
              <div class="navbar">
              <div class="navbar-inner">
                <ul class="nav">
                  <li>@Html.ActionLink("Manage Actual Resource", "Index", "ManageActualResource", null, null)</li>
                  <li>@Html.ActionLink("Manage Tasks", "Index", "ManageTask", null, null)</li>
                  <li  class="active">@Html.ActionLink("Register New Account", "Register", "Account", null, null)</li>
                </ul>
              </div>
            </div>
<div class="register">
    <hgroup class="title">    
    <h2>Create a new account.</h2>

</hgroup>
    @using (Html.BeginForm())
    {
        @Html.AntiForgeryToken()
        @Html.ValidationSummary(false,null, new { @class = "text-error" })

        <fieldset>
            <legend>Registration Form</legend>
          
            <div class="row-fluid">
                <div class="span5">
                    @Html.LabelFor(m => m.UserName)
                </div>
                <div class="span7">
                    @Html.TextBoxFor(m => m.UserName)
                </div>
            </div>
            <div class="row-fluid">
                <div class="span5">
                    @Html.LabelFor(m => m.Password)
                </div>
                <div class="span7">
                    @Html.PasswordFor(m => m.Password)
                </div>
            </div>
            <div class="row-fluid">
                <div class="span5">
                    @Html.LabelFor(m => m.ConfirmPassword)
                </div>
                <div class="span7">
                    @Html.PasswordFor(m => m.ConfirmPassword)
                </div>
            </div>
            <input type="submit" class="btn" value="Register" />
        </fieldset>
    }
    @*@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}*@
</div>
